Latest Questions

iOS - Failed to upload video file from swift to FastAPI server

I took the code for uploading the video file from this question, however, an error occurs. This is the code to select a video from an album: var videoURL: URL?

flex container is reversing items

I have a flex-container with three items and the flex-direction set to row. I put different sizes for each of the three boxes so that they're in an ascending o

How to get and set custom sorting order on MS To-Do using GraphAPI

Requirement Explanation I'm developing a company dashboard, wish MS To-Do is part of as a widget, and there is no value if I can't sync task sorting order betwe

Trying to structure a website url for scrapping wordpress

I need help in getting a wordpress site to show all results on a single page. https://www.dqqq.co.nz/?s=ALL&post_type=product The site returns all the produ

R Dataframe Filter Values

I have a dataframe looks like below: Place Time1 Time2 Time3 Time4 Time5 Time6 Time7 Time8 Time9 ... CA 0.2 0.3 0.1 0.

How to prevent svg on top of other div of triggering mouseleave

I have an issue with mouseleave. (React/Typescript/CSS/HTML project). Situation (see picture at the bottom) I got two div elements <> <div id="main"

Scraping different years from Tableau

I have to scrape this table but it seems that TableauScraper does not recognise that multiple years are available. Here is the Table https://public.tableau.com/

Can I use expo packages in react native cli?

Can I use expo packages in react native cli ?

finding CDRs in NGS data

I have millions of sequences in fasta format and want to extract CDRs (CDR1, CDR2 and CDR3).I chose only one sequence as an example and tried to extract CDR1 bu

Cors issue with node js and React Js

I have tried all solutions, but doesn't work, and i don't have any idea how i can do to solve this problem Access to XMLHttpRequest at 'https://api.bolaosolida

react I want to change the order

When the button is pressed, I want it to swipe in the following order: yellow, red, blue, green.

Delete Rows a day after the date has passed

I am still fairly new at script writing and am trying a write a script that deletes a row one day after the date which is in column L. The data is in range A133

Work around Keras TypeError limitation when calling layer "tf.keras.backend.rnn_1"

I am trying to use Keras for an attention mechanism in a machine translation using an LSTM network. However, I get a TypeError exception when in my code. TypeEr

Flask + sqlite + html

I need to make that when I click register on the site, the data is added as a new line in the database. But when the button is clicked, the site is simply updat

Which version of Java do I need for this

I'm trying to use R and the R package rjdbc to connect to an Oracle database. Unfortunately, due to my company's strict IT department, every step of the proces

Getting "Failed to establish a new connection: [Errno -3] Temporary failure in name resolution" in Uvicorn server in Docker environment

I am getting the below exception while making a call from my project- My code is deployed on Docker and inside it running python uvicorn server. I have double c

Pusher Cannot read properties of undefined (reading 'push')

I want to update the list of users with pusher. When I submit the console shows this error: enter image description here I also get Uncaught refering to pusher.

undefiined useContext destructure

i am trying save user object in context but i am gettin g undefined this is my context: import { createContext } from "react"; export const UserContext = creat

getting this error Error: Must request at least one colour from a hue palette

enter image description hereIm trying to stack the above given formula to use on my code, but i keep getting this error Error: Must request at least one colour

Spark - Update a nested column to string

|-- x: array (nullable = true) | |-- element: struct (containsNull = true) | | |-- y: struct (nullable = true) | | |-- z: struct (nullable =

Call to undefined method Illuminate\Database\Eloquent\Builder::links() error when attempting to paginate

I'm trying to create a simple filter system with a search box, service, category and a way to sort the items in my laravel controller. However, I am getting an

Error while creating a model for binary classification for text classification

code: model = create_model() model.compile(optimize=tf.keras.optimizers.Adam(learning_rate=2e-5), loss=tf.keras.losses.BinaryCrossentropy(),

gatsby build failing on netlify with throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath);

This error did not happen on my build from several months ago, I was on node v14.4.0 which was using npm v6.14.5. 6:09:13 PM: $ gatsby build 6:09:13 PM: interna

How to include Auth in Syncfusion PDF Viewer ServiceUrl Api Call in a Blazor WASM app

I am trying to use Syncfusion PDF Viewer in a Blazor WASM app with authentication, and am getting the following error: Microsoft.AspNetCore.Components.WebAssem

React MUI Autocomplete "options.filter" is not a function

I wish to create a autocomplete search bar with my own custom call to the backend, which searches through a list of tickers. <Autocomplete mu

Plotly (R): Make a surface plane in a plotly 3d scatter plot

I have made a 3d scatter plot using plotly and on that plot I would also like to have a 3d surface plane at manual positions and geometries. I don't want to mak

Is it possible to connect to serverless sql pool via azure databricks?

I'm trying to connect to synapse serverless pool via databricks. I need to create synapse views and external tables directly in databricks as part of an existin

Can I schedule a single background task to run at sometime in the future on iOS

I need to queue a background task on iOS to run specifically 1 minute later, and to run only once. All I have found so far in the docs is running a periodic tas

Issue converting object to int in Python for OLS regression

I'm trying to run a multiple linear regression in Python. One of my columns "member_total" is an object and I can't figure out how to convert it into an int. Ri

Azure App Service with AAD identity provider - Python & Streamlit framework for app - get logged in user

Have a web app developed in Python with the Streamlit framework. Deploying as an Azure app service. Authentication to the app is via AAD. I'm unable to get deta